package net.dgg.dggcloud.service.jrcrm.entity.log;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用户信息修改日志
 * 
 * @Title: SysModifyUserRecord
 * @Description:
 * @Auther: 雷力
 * @Date: 2018-11-23 11:56:27
 *
 */
@Entity
@Table(name = "sys_modify_user_record")
public class SysModifyUserRecord implements Serializable {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -8782865507816221067L;

	/**
	 * 数据库表名
	 */
	public static final String TABLE_NAME = "sys_modify_user_record";

	/**
	 * 主键
	 */
	@Id
	@Column(name = "id")
	private Long id;
	/**
	 * 操作人
	 */
	@Column(name = "user_name")
	private String userName;
	/**
	 * 操作人工号
	 */
	@Column(name = "user_loginname")
	private String userLoginname;
	/**
	 * 操作时间
	 */
	@Column(name = "opreate_time")
	private Date opreateTime;
	/**
	 * ip
	 */
	@Column(name = "ip")
	private String ip;
	/**
	 * 被操作人
	 */
	@Column(name = "vuser_name")
	private String vuserName;
	/**
	 * 被操作人工号
	 */
	@Column(name = "vuser_loginname")
	private String vuserLoginname;
	/**
	 * 操作类型
	 */
	@Column(name = "opreate_type")
	private String opreateType;
	/**
	 * 操作内容
	 */
	@Column(name = "content")
	private String content;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public String getUserLoginname() {
		return userLoginname;
	}

	public void setUserLoginname(String userLoginname) {
		this.userLoginname = userLoginname == null ? null : userLoginname.trim();
	}

	public Date getOpreateTime() {
		return opreateTime;
	}

	public void setOpreateTime(Date opreateTime) {
		this.opreateTime = opreateTime;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip == null ? null : ip.trim();
	}

	public String getVuserName() {
		return vuserName;
	}

	public void setVuserName(String vuserName) {
		this.vuserName = vuserName == null ? null : vuserName.trim();
	}

	public String getVuserLoginname() {
		return vuserLoginname;
	}

	public void setVuserLoginname(String vuserLoginname) {
		this.vuserLoginname = vuserLoginname == null ? null : vuserLoginname.trim();
	}

	public String getOpreateType() {
		return opreateType;
	}

	public void setOpreateType(String opreateType) {
		this.opreateType = opreateType == null ? null : opreateType.trim();
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}
}